﻿namespace FFF.Test.Application.DomainServices.WX
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Abp.Domain.Services;
    using Abp.Domain.Uow;
    using Abp.EntityFrameworkCore.Uow;
    using Abp.EntityFrameworkCore;
    using AutoMapper;
    using Abp.UI;
    using Ydm.Helper;
    using Ydm.Extensions;
    using Microsoft.EntityFrameworkCore;
    using AutoMapper.QueryableExtensions;
    using FFF.Test.DataAccess.Framework;
    using FFF.Test.Application.Repositories.WX;
    using FFF.Test.Entity.WX;
    using FFF.Test.Entity.WX.Dto;
    using FFF.Test.Entity.WX.View;

    /// <summary>
    /// 微信支付订单表领域层服务接口
    /// </summary>
    public class WXPayOrderDomainService : YdmAbpDomainServiceBase, IWXPayOrderDomainService
    {
        /// <summary>
        /// 微信支付订单表仓储
        /// </summary>
        private readonly IWXPayOrderRepository _wXPayOrderRepository;

        /// <summary>
        /// Initializes a new instance of the <see cref="WXPayOrderDomainService"/> class.
        /// 微信支付订单表领域层操作
        /// </summary>
        /// <param name="wXPayOrderRepository">微信支付订单表仓储</param>
        public WXPayOrderDomainService(
            IWXPayOrderRepository wXPayOrderRepository
        )
        {
            this._wXPayOrderRepository = wXPayOrderRepository;
        }
    }
}
